<?php
namespace Apps\Front\Controllers;
use Apps\Front\Controllers\ControllerBase;

class ControllerAuth extends ControllerBase {

   protected $_operator=null;
   protected $_acl=array();

   function initialize(){
		if(!$this ->session ->has('operator')){
			$this->view->disable();
			$this->jump('Index/index','请先登录');
			return;
		}
		$this->_operator=$this ->session ->get('operator');
		$this->view->setVar('_operator',$this->_operator);
   }
}
